home *** CD-ROM | disk | FTP | other *** search
/ Cracking 2 / Cracking II..iso / Kompresni & kodovaci programy / JCALG1 RELEASE 5.21 SOURCE CODES / jcalg1_getinfo.asm < prev    next >
Encoding:
Assembly Source File  |  2000-08-03  |  981 b   |  28 lines

  1. ; JCALG1 r5.21, (c)1999 by Jeremy Collake - All Rights Reserved.
  2. ; ***************************************************************
  3. ; Please read license agreement in LICENSE.TXT, if this document
  4. ; is not included with this distribution, please email the author
  5. ; at collake@charter.net.
  6. ; ***************************************************************
  7. ;
  8. ifndef JCALG1_Decompress_Small
  9.  include jcalg1_d.asm
  10. endif
  11. ifndef JCALG1_Decompress_Fast
  12.  include jcalg1_d_fast.asm
  13. endif
  14. .code
  15. JCALG1_GetInfo PROC stdcall pInfoStruct:DWORD    
  16.     mov    eax,pInfoStruct
  17.     mov    [eax+_JCALG1_Info.MajorRevision],MAJOR_REV
  18.     mov    [eax+_JCALG1_Info.MinorRevision],MINOR_REV
  19.     mov    [eax+_JCALG1_Info.SmallDecompressorSize],(offset JCALG1_Decompress_Small_ends-offset JCALG1_Decompress_Small)
  20.     mov    [eax+_JCALG1_Info.FastDecompressorSize],(offset JCALG1_Decompress_Fast_ends-offset JCALG1_Decompress_Fast)
  21.     ret
  22. JCALG1_GetInfo ENDP
  23. ifndef GETINFO_OBJ
  24. GETINFO_OBJ equ
  25. endif
  26. GETINFO_OBJ
  27.  
  28.